﻿using System.Runtime.Serialization;

namespace AcountingService.DataTransferObjects.Report
{
    /// <summary>
    /// ReportGroup Data Transfer Object.
    /// 
    /// The purpose of the ReportGroupTransferObject is to facilitate transport of 
    /// ReportGroup business data in a serializable format. Business data is kept in 
    /// publicly accessible auto properties. This class has no methods. 
    /// </summary>
    /// <remarks>
    /// Pattern: Data Transfer Objects.
    /// 
    /// Data Transfer Objects are objects that transfer data between processes, but without behavior.
    /// </remarks>
    [DataContract( Namespace = "http://www.yourcompany.com/types/")]
    public class ReportGroupDto
    {
        /// <summary>
        /// Mã nhóm báo cáo
        /// </summary>
        [DataMember]
        public long ReportGroupId { get; set; }
        /// <summary>
        /// Tên nhóm báo cáo
        /// </summary>
        [DataMember]
        public string Name { get; set; }
        /// <summary>
        /// Mô tả
        /// </summary>
        [DataMember]
        public string Description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public bool IsVoucher { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public bool IsTypical { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public bool IsActive { get; set; }
    }
}